package com.qing.springcloud.common;

import lombok.Getter;

/**
 * @author caozhipeng
 * @date 2025/7/11
 * @description 消息接收者类型枚举类
 */
@Getter
public enum MessageReciverTypeEnum implements CommonEnum{
    USER(0, "用户"),
    GROUP(1, "群组");

    private Integer code;

    private String name;

    private  MessageReciverTypeEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
